package com.authine.cloudpivot.common.extension.client.dto;

import com.authine.cloudpivot.common.organization.model.enums.GenderType;
import com.authine.cloudpivot.common.organization.model.enums.Status;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDate;

/**
 * 用户数据传输对象
 *
 * @auther: zhangjie
 * @date: 2020/4/23 11:01
 */
@Getter
@Setter
@ToString
public class UserDTO extends BaseDTO {

    private static final long serialVersionUID = 1707804562663192240L;

    private String userId;

    private String name;

    private GenderType gender;

    private String mobile;

    private String email;

    private String identityNo;

    private LocalDate birthDay;

    private LocalDate entryDate;

    private String position;

    private String appellation;

    private String mainDepartment;

    private String departmentId;

    private String roleId;

    private String isLeaderInDept;

    private String imgUrl;

    private Status status;

    private Long sortKey;

    private String employeeNo;

    private String officePhone;

    private String sourceId;

    private Boolean leader;

}
